package com.heima.search.service;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dto.HistorySearchDTO;
import com.heima.model.search.dto.UserSearchDTO;

public interface ApUserSearchService {
    //保存用户的搜索记录
    void insert(UserSearchDTO dto);

    //查询搜索记录
    ResponseResult findUserSearch(UserSearchDTO userSearchDto);

    //删除搜素记录
    ResponseResult delUserSearch(HistorySearchDTO dto);
}